package com.bwie.service;

import com.bwie.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 段阳
 * @version 1.0
 * Create by 2024/6/17 11:07
 */
@Component("iSchoolService")
@FeignClient(name = "day0617mounth-school")
public interface ISchoolService {

    @PostMapping("/school/findCollegeBySid")
    public R findCollegeBySid(@RequestParam Integer sid);

    @PostMapping("/school/findSchoolById")
    public R findSchoolById(@RequestParam Integer id);


    @PostMapping("/school/findSchoolList")
    public R findSchoolList();

    @PostMapping("/school/findCollegeList")
    public R findCollegeList(@RequestParam Integer sid);
}